package com.bailong.administrator.ausedcar.http;

import com.bailong.administrator.ausedcar.bean.BuyCarsBean;

import com.bailong.administrator.ausedcar.bean.DetailBean;
import com.bailong.administrator.ausedcar.bean.HomeHotBean;
import com.bailong.administrator.ausedcar.bean.HomeLikeBean;
import com.bailong.administrator.ausedcar.bean.HomeShowBean;
import com.bailong.administrator.ausedcar.config.UrlConfig;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by Administrator on 2016/9/6.
 */
public interface InterRetrofit {

    @GET(UrlConfig.HOMELIKE)
    Call<HomeLikeBean> loadHomeLikeBean( @QueryMap Map<String ,String> map);
    @GET(UrlConfig.HOMEHOT)
    Call<HomeHotBean> loadHomeHotBean(@QueryMap Map<String ,String> map);


    @GET(UrlConfig.BUYCAR)
    Call<BuyCarsBean> loadBuyCarsBean(@QueryMap Map<String,String> map);

    @GET(UrlConfig.HOMESHOW)
    Call<HomeShowBean> loadHomeShowBean(@QueryMap Map<String ,String> map);
    @GET(UrlConfig.HOMESHOWJUMP)
    Call<HomeLikeBean> loadHomeShowBeanC(@QueryMap Map<String ,String> map);
    @GET(UrlConfig.DETAIL)
    Call<DetailBean> loadDetailBean(@QueryMap Map<String ,String> map);

}
